<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddYearToTalentTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('talent', function (Blueprint $table) {
            $table->string('year', 100)->default('')->comment('工作年限');
            $table->string('recently_company', 100)->default('')->comment('最近一家公司');
            $table->string('recently_job', 100)->default('')->comment('最近一个职位');
            $table->string('annual_income', 100)->default('')->comment('目前年收入');
            $table->string('expected_salary', 100)->default('')->comment('期望薪资');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('talent', function (Blueprint $table) {
            //
        });
    }
}
